package com.edu.oma.protocol.common;

public class ResultCode {
//	成功	1000	请求成功
//	暂无新版本	2001	请求成功，但暂无最新版本
//  车辆未注册   2002	    车辆未激活
//	参数格式异常	5001	参数 Json格式转换异常
//	参数校验异常	5002	参数校验失败
//	签名验证异常	5003	签名验证失败
//	汽车认证失败	5005	车辆vin 车型 验证不合法
//	服务器异常	10000	服务器未知异常
	
	
	public static final Integer SUCC_CODE = 1000;
	public static final String  SUCC_MSG = "成功";
	
	public static final Integer NO_NEW_VERSION_CODE = 2001;
	public static final String  NO_NEW_VERSION_MSG = "暂无新版本";

	public static final Integer CAR_STATUS_NOT_ACTIVE_CODE = 2002;
	public static final String  CAR_STATUS_NOT_ACTIVE_MSG = "车辆未激活";
	
	public static final Integer JSON_FORMATE_EXCEPTION_CODE = 5001;
	public static final String  JSON_FORMATE_EXCEPTION_MSG = "参数 Json格式转换异常";
	
	public static final Integer PARAM_VERIFICATION_FAIL_CODE = 5002;
	public static final String  PARAM_VERIFICATION_FAIL_MSG = "参数校验失败";
	
	public static final Integer SIGN_AUTHENTICATION_FAIL_CODE = 5003; 
	public static final String SIGN_AUTHENTICATION_FAIL_MSG = "签名验证失败";
	
	public static final Integer VEHICLE_ILLEGALITY_CODE = 5005;
	public static final String VEHICLE_ILLEGALITY_MSG = "车辆不合法";
	
	public static final Integer UPGREDE_LOG_SAVE_EXCEPTION_CODE = 5006;
	public static final String UPGREDE_LOG_SAVE_EXCEPTION_MSG = "升级日志文件保存异常";

	public static final Integer DIAGNOSTIC_LOG_SAVE_EXCEPTION_CODE = 6001;
	public static final String DIAGNOSTIC_LOG_SAVE_EXCEPTION_MSG = "诊断日志文件保存异常";
	
	public static final Integer UNKNOWN_ERR_CODE = 10000;
	public static final String  UNKNOWN_ERR_MSG = "服务器内部异常";
}
